<form nz-form>
  <div nz-row nzGutter="8">
    <div nz-col nzSpan="14" nzOffset="4">
      <nz-form-item>
        <nz-form-control>
          <nz-input-group [nzSuffix]="suffixIconSearch">
            <input nz-input name="searchName" [(ngModel)]="searchName" placeholder="根据姓名查找雇员" />
          </nz-input-group>
          <ng-template #suffixIconSearch>
            <i nz-icon type="search"></i>
          </ng-template>
        </nz-form-control>
      </nz-form-item>
    </div>
  </div>
</form>
<nz-table #basicTable [nzData]="employees">
  <thead>
    <tr>
      <th nzAlign="center">姓名</th>
      <th nzAlign="center">年龄</th>
      <th nzAlign="center">操作</th>
    </tr>
  </thead>
  <tbody>
    <tr *ngFor="let data of basicTable.data | nameFilter:searchName ">
      <td nzAlign="center">{{ data.name }}</td>
      <td nzAlign="center">{{ data.age }}</td>
      <td nzAlign="center">
        <a>Delete</a>
      </td>
    </tr>
  </tbody>
</nz-table>
